StupidBeauty
Read times:579Posted at:Mon Jan 28 19:00:47 2013
- no title specified

转载 Cmake的介绍和使用 Cmake实践

Cmake脚本中输出变量的内容这样写: message (status "pthreads_include_dirs:" ${PTHREADS_INCLUDE_DIRS} ),其中的 ${PTHREADS_INCLUDE_DIRS} 就引用了变量内容

http://www.cppblog.com/Roger/archive/2011/11/17/160368.html

亮点

向该文件中加入以下几行(稍后会做解释)

PROJECT (HELLO)

SET(SRC_LIST main.cpp)

MESSAGE(STATUS "This is BINARY dir " ${HELLO_BINARY_DIR})

MESSAGE(STATUS "This is SOURCE dir "${HELLO_SOURCE_DIR})

ADD_EXECUTABLE(hello ${SRC_LIST})

无名美女

Your opinions
Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands

 
Recent comments
2017年4月~2019年4月垃圾短信排行榜Posted at:Thu Sep 26 04:51:48 2024
Qt5.7文档翻译:QWebEngineCookieStore类,QWebEngineCookieStore ClassPosted at:Fri Aug 11 06:50:35 2023盲盒kill -9 18289 Grebe.20230517.211749.552.mp4